package com.piik.mall.product.feign;


import com.piik.common.dto.SkuReductionDTO;
import com.piik.common.dto.SpuBoundDTO;
import com.piik.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("mall-coupon")
public interface CouponFeignService {

    @PostMapping("/coupon/skufullreduction/saveInfo")
    R saveFullReductionInfo(@RequestBody SkuReductionDTO skuReductionDTO);

    @PostMapping("/coupon/spubounds/saveSpuBounds")
    R saveSpuBound(@RequestBody SpuBoundDTO spuBoundDTO);

}
